<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>欢迎页</title>
    <link rel="stylesheet" href="__PUBLIC__/layui/css/layui.css">
    <link rel="stylesheet" href="__PUBLIC__/static/css/style.css">
    <link rel="icon" href="__PUBLIC__/static/image/code.png">
</head>
<body class="body">

<div class="layui-row layui-col-space10 my-index-main">
    <div class="layui-col-xs4 layui-col-sm2 layui-col-md2">
        <div class="my-nav-btn layui-clear" data-href="{:url('admin/Welfare/index')}">
            <div class="layui-col-md5">
                <button class="layui-btn layui-btn-big layui-btn-danger layui-icon">&#xe756;</button>
            </div>
            <div class="layui-col-md7 tc">
                <p class="my-nav-text">{$web.WelfareM}</p>
                <p class="my-nav-text layui-elip">待审核物品</p>
            </div>
        </div>
    </div>
    <div class="layui-col-xs4 layui-col-sm2 layui-col-md2">
        <div class="my-nav-btn layui-clear" data-href="{:url('admin/WelfareM/index')}">
            <div class="layui-col-md5">
                <button class="layui-btn layui-btn-big layui-btn-warm layui-icon">&#xe735;</button>
            </div>
            <div class="layui-col-md7 tc">
                <p class="my-nav-text">{$web.Welfare}</p>
                <p class="my-nav-text layui-elip">待审核物品福利</p>
            </div>
        </div>
    </div>

    <div class="layui-col-xs4 layui-col-sm2 layui-col-md2">
        <div class="my-nav-btn layui-clear" data-href="{:url('admin/GameCenter/payinfo')}">
            <div class="layui-col-md5">
                <button class="layui-btn layui-btn-big layui-btn-warm layui-icon">&#xe735;</button>
            </div>
            <div class="layui-col-md7 tc">
                <p class="my-nav-text">{$web.doymoney}</p>
                <p class="my-nav-text layui-elip">当前区服今日付费金额</p>
            </div>
        </div>
    </div>
    
    <div class="layui-col-xs12 layui-col-sm12 layui-col-md12">
        <div class="layui-collapse">
            <div class="layui-colla-item">
                <h2 class="layui-colla-title">版本</h2>
                <div class="layui-colla-content layui-show">

<div class="page-container">
    <p class="f-20 text-success">欢迎使用 {$web.webname} 后台管理系统 <span class="f-14">{:\App::version()}</span> 区服：{$web.web}</p>
    <p>上次登录IP：{:cookie('lastip')}  上次登录时间：{:date('Y-m-d H:i:s',cookie('lasttime'))}</p>
    <table class="layui-table" lay-size="">
        <thead>
            <tr>
                <th colspan="2" scope="col">服务器信息</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>服务器IP地址</td>
                <td>{$web.config.ip}</td>
            </tr>
            <tr>
                <td>服务器域名</td>
                <td>{$web.config.domain}</td>
            </tr>
            <tr>
                <td>服务器端口 </td>
                <td>80</td>
            </tr>
            <tr>
                <td>服务器操作系统 </td>
                <td>{$web.config.os}</td>
            </tr>
            <tr>
                <td>服务器脚本超时时间 </td>
                <td>{$web.config.max_ex_time}</td>
            </tr>
            <tr>
                <td>服务器的语言种类 </td>
                <td>Chinese (People's Republic of China)</td>
            </tr>
            <tr>
                <td>php版本</td>
                <td>{$web.config.phpv}</td>
            </tr>
            <tr>
                <td>服务器时区 </td>
                <td>{$web.config.timezone}</td>
            </tr>
            <tr>
                <td>服务器当前时间 </td>
                <td>{$web.config.time}</td>
            </tr>
            <tr>
                <td>服务器上次启动到现在已运行 </td>
                <td>{$web.config.uptime}</td>
            </tr>
            <tr>
                <td>CPU 总数 </td>
                <td>4</td>
            </tr>
            <tr>
                <td>CPU 类型 </td>
                <td>{$web.config.php_uname}</td>
            </tr>
            <tr>
                <td>虚拟内存 </td>
                <td>52480M</td>
            </tr>
            <tr>
                <td>当前程序占用内存 </td>
                <td>3.29M</td>
            </tr>
            <tr>
                <td>Asp.net所占内存 </td>
                <td>51.46M</td>
            </tr>
            <tr>
                <td>当前Session数量 </td>
                <td>8</td>
            </tr>
            <tr>
                <td>当前SessionID </td>
                <td>gznhpwmp34004345jz2q3l45</td>
            </tr>
            <tr>
                <td>当前系统用户名 </td>
                <td>NETWORK SERVICE</td>
            </tr>
        </tbody>
    </table>
</div>

                </div>
            </div>
        </div>
    </div>

</div>

<script type="text/javascript" src="__PUBLIC__/layui/layui.js"></script>
<script type="text/javascript" src="__ADMIN__/js/index.js"></script>
<script type="text/javascript" src="__PUBLIC__/echarts/echarts.js"></script>
<script type="text/javascript">
    layui.use(['element', 'form', 'table', 'layer', 'vip_tab'], function () {
        var form = layui.form
                , table = layui.table
                , layer = layui.layer
                , vipTab = layui.vip_tab
                , element = layui.element
                , $ = layui.jquery;

        // 基于准备好的dom，初始化echarts实例
        // var myChart = echarts.init(document.getElementById('main-line'));

        // // 使用刚指定的配置项和数据显示图表。
        // myChart.setOption({
        //     title: {
        //         text: '示例'
        //     },
        //     tooltip: {},
        //     legend: {
        //         data: ['销量']
        //     },
        //     xAxis: {
        //         data: ["衬衫", "羊毛衫", "雪纺衫", "裤子", "高跟鞋", "袜子"]
        //     },
        //     yAxis: {},
        //     series: [{
        //         name: '销量',
        //         type: 'bar',
        //         data: [5, 20, 36, 10, 10, 20]
        //     }]
        // });

        // 打开选项卡
        $('.my-nav-btn').on('click', function(){
            if($(this).attr('data-href')){
                //vipTab.add('','标题','路径');
                vipTab.add($(this),'<i class="layui-icon">'+$(this).find("button").html()+'</i>'+$(this).find('p:last-child').html(),$(this).attr('data-href'));
            }
        });

        // you code ...


    });
</script>
</body>
</html>